package com.tjl.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName uorder
 */
@TableName(value ="uorder")
@Data
public class Uorder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer oid;

    /**
     * 订单号
     */
    private String ordernum;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 商品id数组
     */
    private String cidlist;

    /**
     * 数量
     */
    private Integer num;

    private double price;

    /**
     * 状态0为未付款 1为未发货 2 未待收货 3为交易完成
     */
    private Integer state;

    /**
     * 地址id
     */
    private Integer aid;

    /**
     * 
     */
    private String createtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}